View Issue Details

IDProjectCategoryView StatusLast Update
0000795T99X171.00 SKB EagleSW Issuepublic2020-09-28 14:02
Reporter(ALTech) Jason ParkAssigned To(SW) Jerry Lin Due Date
PrioritynormalSeveritys2-severeReproducibilityhave not tried
Status closedResolutionfixed 
Summary0000795: [AOSP] when limited for chiild watch via Btv plus, Don't mute via BT.
DescriptionHi Kerwin / JIM

I explain an issue on BTVUHD4-49.
 https://jira.skbroadband.com/browse/BTVUHD4-49

This requirement is based on SKB_보급형UHD_HDMI_Audo_출력_시나리오_v1.0.xlsx.

* Start for child watching Limited : child_limited_mute=mute
* Terminated for child watching Limited : child_limited_mute=unmute

if cast mute for child_limited_mute as setParameter of AudioSystem, BT Auido have to mute.

setParameter of AudioSystem isn't API in livtvs_mediaserver_hal.so.

before you developed as receiving adev_set_parametes in hadware/amlogic/audio/audio_hal/audio_hw.c
static int adev_set_parameters (struct audio_hw_device *dev, const char *kvpairs)
{
...
ret = str_parms_get_str (parms, "child_limited_mute", value, sizeof (value) );
if (ret >= 0)

{ if (strcmp (value, "mute") == 0) audio_control_mode = audio_control_mode | AUDIO_CHILD_LIMITED_MUTE; else audio_control_mode = audio_control_mode & (~AUDIO_CHILD_LIMITED_MUTE); set_aud_output = true; }
..
}
Steps To Reproduce[step to reproduce]
1. watching for an advertising contents before playing VOD.
2. User try to do for limitation for child watching via BtvPlus app in your mobile phone.
    password : 1 1 1 1

[a current Result]
It can sound via BT.

[Expect result]
it don't sound via BT.

[Device Info.]
fw : 17.512.07
web : 5.1.2.154
nugu : 2.7.7

TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) Juyoung Park , (ALTech) SY Yoon

Activities

(ALTech) Jason Park

2019-11-26 15:14

developer  

com.skb.smartrc_2019-11-18.zip (19,973,821 bytes)

(SW) Kerwin Chen

2019-11-27 10:44

developer   ~0003214

Hi Jason,

Previously, we follow 'SKB_보급형UHD_HDMI_Audo_출력_시나리오_v1.0.xlsx' to modify audio_hw.c only for HDMI mute/unmute.

But Audio HAL (audio_hw.c) doesn't include API to set BT mute.
I think TVS could use Android Framework API to set BT mute directly.

(ALTech) Jason Park

2019-11-28 14:52

developer   ~0003218

hi kerwin

Your comment may make an argument with TVS. "I think TVS could use Android Framework API to set BT mute directly. "
If TVS have to modify it directly, you have to give some reason. I understand we don't have API function in audio_hw.c.
so you have to made it with a time. when TVS give a command to Driver, driver have to work properly.
please give your plan or you give a reason to request it to TVstorm.
Tvstorm is used on many box with same MW. So they don't want to make a special item for only Eagle box.

Thanks.

(SW) Kerwin Chen

2019-12-02 13:35

developer   ~0003219

Hi Jason,

Is this feature needed only for AOSP model ? How about ATV model ?
We have to check if there is any side-effect on CTS.
BTW, we are doing feasibility study to support this feature and will keep you updated once we have a result.

Thanks !

(ALTech) Jason Park

2019-12-02 15:18

developer   ~0003220

hi Kerwin
This issue come from AOSP. But as you know it, ATV model also need to update as UI 5.1.3. So it guess after update it later, It may be a same situation in BFX-AT100-UI5.1.3.
This mechanism is related to UI5.1.2 upper version.
please refer to it.

Thanks.

(ALTech) Jason Park

2019-12-04 14:06

developer   ~0003229

hi Jerry

as talk in webcat, you can test with below library,

https://drive.google.com/file/d/1NUPEIU-ChHy8sZQHQYnEhsMul4ra0obF/view?usp=sharing

this library don't include TVS workaround solution.

Thanks

(SW) Jerry Lin

2019-12-04 19:24

developer   ~0003232

Hi jason,
I push tvs library to vendor/skb/prebuilts/tvstorm_btv-middleware/mmf and rebuild a new fw of BFX-UH200.
I use this fw and reproduce this issue.
But i can not reproduce in my side.

The following steps are my test process.
1. power on
2. Eagle box stay in playing the first video after booting.
3. At this time,the earphone output of my RCU can hear sound.
3. I try to do for limitation for child watching via BtvPlus app in my mobile phone.
4. At this time,Eagle box show child limitation page on TV Screen.
5. And the earphone output of RCU can not hear sound.

Please help ask TVS for the detailed test process or provides us with a video of the testing process for reference.

(SW) Jerry Lin

2019-12-09 14:50

developer   ~0003235

Hi jason ,
i attached my test library in this mantis.
Please send to TVS to verify this issue.
You can use the following command to push test library to Box.
command: adb push audio.a2dp.default.so /system/lib/hw
And also can use the following command to check mute/unmute function.
command: logcat -v time -s bt_a2dp_hw
audio.a2dp.default.so (47,080 bytes)

(ALTech) Jason Park

2019-12-09 16:46

developer   ~0003237

hi jerry

I toss some comment from TVS.
When show a pop-up for Child mute on new HomeUI, player is stopped. so That is why you don't reproduce in your side.
so they recommend with using TestApp for reproducing an issue.

if you use with test app, you can sound via BT in a pop-up for child limitation on TV.

0. please use upper library.(From TVstorm)

1. please Install Test app
 adb install –r tvsystemservicetest-debug.apk

2. Execute Test apps
adb shell am start -n com.tvstorm.android.systemframework.test/.TVSystemTestActivity

3. Test app -> AudioSetting menu

4. select for child muted in audioSetting in TestApps

5. Return to live or VOD via a previous key.

Thanks

(ALTech) Jason Park

2019-12-11 13:28

developer   ~0003244

hi Jerry

I receive new library from TVS.

https://drive.google.com/file/d/1VP7RxqtcNzqgrVsXK2MQf4Bpk_kMcJPw/view?usp=sharing

After using it, please share a result and reproduce an issue.

Thanks

(ALTech) Jason Park

2019-12-11 16:22

developer   ~0003248

HI Jerry..

I receive new TVstorm APP. Please check it.
it is ok But I don't heard any sound via BT rcu.

Thanks.

(ALTech) Jason Park

2019-12-12 09:29

developer   ~0003249

hi Jerry

 I received a confirm about this patch from TVstorm .

Thanks

Issue History

Date Modified Username Field Change
2019-11-26 15:12 (ALTech) Jason Park New Issue
2019-11-26 15:12 (ALTech) Jason Park Steps to Reproduce Updated
2019-11-26 15:14 (ALTech) Jason Park File Added: btv_plus_forchiild_limited.jpg
2019-11-26 15:14 (ALTech) Jason Park File Added: SKB_보급형UHD_HDMI_Audio_출력_시나리오(eng)_v1.0.xlsx
2019-11-26 15:14 (ALTech) Jason Park File Added: com.skb.smartrc_2019-11-18.zip
2019-11-26 15:14 (ALTech) Jason Park Assigned To => (SW) Jacky Chiang
2019-11-26 15:14 (ALTech) Jason Park Status new => assigned
2019-11-27 10:44 (SW) Kerwin Chen Assigned To (SW) Jacky Chiang => (ALTech) Jason Park
2019-11-27 10:44 (SW) Kerwin Chen Status assigned => feedback
2019-11-27 10:44 (SW) Kerwin Chen Note Added: 0003214
2019-11-28 14:51 (ALTech) Jason Park Issue Monitored: (ALTech) SY Yoon
2019-11-28 14:52 (ALTech) Jason Park Issue Monitored: (ALTech) Juyoung Park
2019-11-28 14:52 (ALTech) Jason Park Note Added: 0003218
2019-12-02 13:35 (SW) Kerwin Chen Note Added: 0003219
2019-12-02 15:18 (ALTech) Jason Park Note Added: 0003220
2019-12-03 14:15 (ALTech) Jason Park Assigned To (ALTech) Jason Park => (SW) Kerwin Chen
2019-12-03 14:15 (ALTech) Jason Park Status feedback => assigned
2019-12-04 14:06 (ALTech) Jason Park Note Added: 0003229
2019-12-04 19:24 (SW) Jerry Lin Note Added: 0003232
2019-12-09 09:35 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (SW) Jerry Lin
2019-12-09 14:50 (SW) Jerry Lin File Added: audio.a2dp.default.so
2019-12-09 14:50 (SW) Jerry Lin Note Added: 0003235
2019-12-09 16:46 (ALTech) Jason Park File Added: tvsystemservicetest-debug.apk
2019-12-09 16:46 (ALTech) Jason Park Note Added: 0003237
2019-12-11 13:28 (ALTech) Jason Park Note Added: 0003244
2019-12-11 16:22 (ALTech) Jason Park File Added: tvsystemservicetest-debug-2.apk
2019-12-11 16:22 (ALTech) Jason Park Note Added: 0003248
2019-12-12 09:29 (ALTech) Jason Park Note Added: 0003249
2019-12-12 09:30 (ALTech) Jason Park Status assigned => resolved
2019-12-12 09:30 (ALTech) Jason Park Resolution open => fixed
2020-09-28 14:02 (ALTech) Jason Park Status resolved => closed